package com.demo.easy.oneLine;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author:YuXuePeng
 * @Date:Created in 2023/4/26 17:19
 */
public class ExcelListener extends AnalysisEventListener {
    private List<Object> list = new ArrayList<>();
    @Override
    public void invoke(Object o, AnalysisContext analysisContext) {
        list.add(o);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
